<?php
/**
 * Created by PhpStorm.
 * User: TS
 * Date: 2017/4/4
 * Time: 22:24
 */

define('ROOT_PATH', realpath(__DIR__) . '/../');
define('APP_PATH', ROOT_PATH . 'apps/');

require_once ROOT_PATH . 'vendor/autoload.php';

require ROOT_PATH . 'system/core/Loader.php';

require_once ROOT_PATH . 'system/Helpers.php';

\core\Loader::register();

\core\Error::register();